package com.smiier.skin.net;

import java.io.File;
import java.util.ArrayList;

import android.content.Context;
import cn.o.app.net.NetTask;

import com.smiier.skin.constant.Constant;
import com.smiier.skin.net.DialogSendTask.DialogSendRequest;
import com.smiier.skin.net.DialogSendTask.DialogSendResponse;
import com.smiier.skin.util.GlobalSettings;

public class DialogSendTask extends
		NetTask<DialogSendRequest, DialogSendResponse> {
	public static class DialogSendRequest extends ORequest {
		public long uid;
		public String content;
		public ArrayList<File> pic;
		public ArrayList<File> filePath;
		public String appname = Constant.APP_NAME;
	}

	public static class DialogSendResponse extends OResponse {
		public int Res;
	}

	@Override
	public void setContext(Context context) {
		super.setContext(context);
		mUrl = GlobalSettings.SERVER_URL + GlobalSettings.SERVER_URL_JOIN
				+ "?api=Dialog.Send";
		mRequestMethod = METHOD_POST;
	}
}
